﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SubmitNotification.aspx.cs" Inherits="SPNotifications.Layouts.SPNotifications.SubmitNotification" DynamicMasterPageFile="~masterurl/default.master" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<!-- To display messages -->
	<asp:Literal ID="litMessages" runat="server" />
	
	<!-- Table to house form controls --> 
    <table border="0" cellspacing="0" cellpadding="0" width="100%"> 
     <tr> 
        <td> 


            <!-- *********************************************************** -->
            <wssuc:InputFormSection runat="server"
	                    Title="Create a New Notification"
	                    Description="Notify site collection users by creating new notifications here." >
                				
                        <Template_InputFormControls>
                        <tr>
	                        <td>
                                Title: <br/>
	                            <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
                                <br/><br/>
	                        </td>
	                    </tr>
                        <tr>
	                        <td>
                                Description: <br/>
	                            <asp:TextBox ID="txtDesc" Rows="6" Width="100%" MaxLength="255" runat="server"></asp:TextBox>
                                <br/><br/>
	                        </td>
	                    </tr>
                        <tr>
	                        <td>
	                            Targeted To: <br/>
                                <SharePoint:PeopleEditor id="PeopleEditorAdmins" runat="server"
						            SelectionSet="User,SPGroup"
						            ValidatorEnabled="true"
						            AllowEmpty = "false"
						            MultiSelect = "true"
					            />
                                <br/><br/>	
	                        </td>
	                    </tr>	
                        
                        </Template_InputFormControls>
                	        
            </wssuc:InputFormSection>
            <!-- *********************************************************** -->
            
            
            <!-- *********************************************************** -->
            <wssuc:ButtonSection runat="server" TopButtons="true" 
                BottomSpacing="5" ShowSectionLine="false"> 
                <Template_Buttons> 
                    <asp:Button UseSubmitBehavior="false" runat="server" 
                        class="ms-ButtonHeightWidth" Text="OK" OnClick="BtnSubmitClicked" 
                        id="BtnSubmitBottom" Enabled="true"/> 
                </Template_Buttons> 
            </wssuc:ButtonSection> 
            <!-- *********************************************************** -->

	
    	</td> 
     </tr> 
    </table> 

</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Notifications
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
Notifications
</asp:Content>
